<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use App\Handlers\WeconHandler;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Redis;

class DedustingRepair extends Model
{
    const STATUS_TODO = 0;
    const STATUS_DONE = 1;
    const STATUS_TEXT = ['0' => '未完成', '1' => '已完成'];

    protected $table = 'xfy_dedusting_repairs';

    public function device()
    {
        return $this->belongsTo(DedustingDevice::class);
    }


}